
// 导入mock
import Mock from "mockjs"

// 使用mock 模拟 api 接口
// Mock.mock("模拟的 api url 地址","请求方式","模拟的数据")

import slide from "./slide"
import floor from "./floor"
import address from "./address"

// let str = Mock.mock({
//     "string|1-10": "★"
// })

// let color = Mock.mock('@color()')

// Mock.mock("汉字","get",{"string|1-10": "★"})

// 首页轮播图
Mock.mock("/slide","get",{
    code:200,
    message:"ok",
    ok:true,
    data:slide
});

// 首页楼层
Mock.mock("/floor","get",{
    code:200,
    message:"ok",
    ok:true,
    data:floor
})

// 收货地址
Mock.mock("/api/user/userAddress/auth/findUserAddressList","get",{
    code:200,
    message:"ok",
    ok:true,
    data:address
})